#!/bin/bash
#
# by Willi Ballenthin
# builds the garmintools libraries
# and moves them into the /lib directory
# moves headers to /include directory
# cleans up
#


cd lib
tar xf garmintools-0.10.tar.gz
cd garmintools-0.10/
./configure
make
mv src/.libs/lib* ..
mv src/*.h ../../include
cd ..
rm -r garmintools-0.10